package com.example.hotelback.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.hotelback.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where id = #{uid}")
    User selectOneById(int uid);
}
